/*
Project : Programmable Control of Airflow System for Maintaining Oxygen Saturation in Pre-term infant 
Microcontroller : STM32F4 Discovery (STM32F407VG)
File : freeRTOS_priority.h

Deverloper : Phattaradanai Kiratiwudhikul
Deverloped by Department of Electrical Engineering, Faculty of Engineering, Mahidol University
*/
//------------------------------------------------------------------------------
#ifndef __FREERTOS_PRIORITY_H
#define __FREERTOS_PRIORITY_H

#include "task.h"                                     

/* define tskIDLE_PRIORITY = (unsigned portBASE_TYPE )0) */

#define OPM_TASK_PRIORITY                 (tskIDLE_PRIORITY + 10)               // Oxygen Pulse Meter Task Priority
#define GUI_TASK_PRIORITY                 (tskIDLE_PRIORITY + 7 )
#define WRITE_SDCARD_TASK_PRIORITY        (tskIDLE_PRIORITY + 5 )
#define FIO2_CHECK_TASK_PRIORITY          (tskIDLE_PRIORITY + 4 )
#define PROFILE_CHECK_TASK_PRIORITY       (tskIDLE_PRIORITY + 3 )


#define PushButton_TASK_PRIORITY    (tskIDLE_PRIORITY + 2 )

#endif // __FREERTOS_PRIORITY_H